package com.dynamixsoftware.printershare.data;

import org.w3c.dom.Element;

public class Tray
  implements Comparable<Tray>
{
  public String drv_params;
  public String id;
  public String name;
  
  public int compareTo(Tray paramTray)
  {
    return this.name.compareTo(paramTray.name);
  }
  
  public void readFromXml(Element paramElement)
  {
    this.id = paramElement.getAttribute("bin");
    if (paramElement.hasAttribute("name"))
    {
      this.name = paramElement.getAttribute("name");
      return;
    }
    this.name = XmlUtil.getNodeValue(paramElement);
  }
}


/* Location:           C:\Users\Admin\Desktop\Decompiler\JAD\jd-gui-0.3.6.windows\classes_dex2jar.jar
 * Qualified Name:     com.dynamixsoftware.printershare.data.Tray
 * JD-Core Version:    0.7.0.1
 */